import request from '@/utils/request'

export function getCategory () {
  return request({
    url: '/api/categories',
    method: 'get'
  })
}
export function getSecCategory (data) {
  return request({
    url: '/api/second_categories',
    method: 'get',
    data: data
  })
}
